package com.gewu.pm.http.request;

import com.hjq.http.config.IRequestApi;
import com.gewu.pm.http.model.AppUrl;

/**
 * 用户登录
 */
public final class LoginApi implements IRequestApi {

    @Override
    public String getApi() {
        return AppUrl.getAppLogin;
    }

    /** 手机号 */
    private String mobile;
    /** 验证码 */
    private String code;

    public LoginApi setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public LoginApi setCode(String code) {
        this.code = code;
        return this;
    }
}